class RoomBaseModel {
  RoomBaseModel({
      this.roomBaseInfo, 
      this.roomTokenBean, 
      this.errorCode,});

  RoomBaseModel.fromJson(dynamic json) {
    roomBaseInfo = json['roomBaseInfo'] != null ? RoomBaseInfo.fromJson(json['roomBaseInfo']) : null;
    roomTokenBean = json['roomTokenBean'];
    errorCode = json['errorCode'];
  }
  RoomBaseInfo? roomBaseInfo;
  String? roomTokenBean;
  dynamic errorCode;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (roomBaseInfo != null) {
      map['roomBaseInfo'] = roomBaseInfo?.toJson();
    }
    map['roomTokenBean'] = roomTokenBean;
    map['errorCode'] = errorCode;
    return map;
  }
}

class RoomBaseInfo {
  RoomBaseInfo({
      this.roomNo, 
      this.roomCode, 
      this.icon, 
      this.name, 
      this.roomTemplateId, 
      this.roomCategoryId,});

  RoomBaseInfo.fromJson(dynamic json) {
    roomNo = json['roomNo'];
    roomCode = json['roomCode'];
    icon = json['icon'];
    name = json['name'];
    roomTemplateId = json['roomTemplateId'];
    roomCategoryId = json['roomCategoryId'];
  }
  String? roomNo;
  String? roomCode;
  String? icon;
  String? name;
  int? roomTemplateId;
  int? roomCategoryId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['roomNo'] = roomNo;
    map['roomCode'] = roomCode;
    map['icon'] = icon;
    map['name'] = name;
    map['roomTemplateId'] = roomTemplateId;
    map['roomCategoryId'] = roomCategoryId;
    return map;
  }
}